home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
COMMUNIC
/
TERMINAL
/
1589.ZIP
/
STRTONO.H
< prev
next >
Wrap
Text File
|
1989-02-06
|
866b
|
23 lines
/*************************************************************************
* defines for the strtono program
**************************************************************************/
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE !FALSE
#endif
#define STR_FLOAT 0x6
#define STR_DOUBLE 0x5
#define STR_LONG 0x4
#define STR_INT 0x3
#define STR_SHORT 0x2
#define STR_CHAR 0x1
#define HEXADECIMAL 0x10
#define DECIMAL 10
#define OCTAL 010
#define BAD_STRING FALSE
#define TOO_BIG FALSE
#define TOO_MANY_DIGITS FALSE
#define SUCCESS TRUE